
**********
*Table 7: Difference-in-Difference estimates of treatment effect in adult females and children
**********

***Column 1 Pacaraima - Non BR-174
clear all
set more off
cap log close
cd ""
use , replace 

keep treat1 treat3
rename treat1 pacaraima 

global x "life_expect illit_25 school gini poverty water_sewer  garbage electric female_pop agriculture fish construction mine def rain temp cattle rural"

reg malariaf_vene $x post##pacaraima i.munic_code i.year, cl(munic_code)
outreg2 using table7.1.1, replace stats(coef se) asterisk(coeff)

reg malariac_vene $x post##pacaraima i.munic_code i.year, cl(munic_code)
outreg2 using table7.1.2, replace stats(coef se) asterisk(coeff)

reg malariaf_bra $x post##pacaraima i.munic_code i.year, cl(munic_code)
outreg2 using table7.1.3, replace stats(coef se) asterisk(coeff)

reg malariac_bra $x post##pacaraima i.munic_code i.year, cl(munic_code)
outreg2 using table7.1.4, replace stats(coef se) asterisk(coeff)

***Column 2 Pacaraima - Amazonia Legal
clear all
set more off
cap log close
cd ""
use , replace 

keep treat1 treat7
rename treat1 pacaraima 

global x "life_expect illit_25 school gini poverty water_sewer  garbage electric female_pop agriculture fish construction mine def rain temp cattle rural"

reg malariaf_vene $x post##pacaraima i.munic_code i.year, cl(munic_code)
outreg2 using table7.2.1, replace stats(coef se) asterisk(coeff)

reg malariac_vene $x post##pacaraima i.munic_code i.year, cl(munic_code)
outreg2 using table7.2.2, replace stats(coef se) asterisk(coeff)

reg malariaf_bra $x post##pacaraima i.munic_code i.year, cl(munic_code)
outreg2 using table7.2.3, replace stats(coef se) asterisk(coeff)

reg malariac_bra $x post##pacaraima i.munic_code i.year, cl(munic_code)
outreg2 using table7.2.4, replace stats(coef se) asterisk(coeff)
